package com.bean;

import java.io.Serializable;
import java.util.ArrayList;

public class Answer extends BaseBean implements Serializable {
	long id;
	UserInfo user;
	String content;
	Question question;
	ArrayList<Answer> comments;
	long create_time;
	int love_num;

	boolean is_loved, is_collected;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public UserInfo getUser() {
		return user;
	}

	public void setUser(UserInfo user) {
		this.user = user;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public long getCreate_time() {
		return create_time;
	}

	public void setCreate_time(long create_time) {
		this.create_time = create_time;
	}

	public Question getQuestion() {
		return question;
	}

	public void setQuestion(Question question) {
		this.question = question;
	}

	public ArrayList<Answer> getComments() {
		return comments;
	}

	public void setComments(ArrayList<Answer> comments) {
		this.comments = comments;
	}

	public boolean isIs_loved() {
		return is_loved;
	}

	public void setIs_loved(boolean is_loved) {
		this.is_loved = is_loved;
	}

	public boolean isIs_collected() {
		return is_collected;
	}

	public void setIs_collected(boolean is_collected) {
		this.is_collected = is_collected;
	}

	public int getLove_num() {
		return love_num;
	}

	public void setLove_num(int love_num) {
		this.love_num = love_num;
	}

}
